-
Notifications
You must be signed in to change notification settings - Fork 14.5k
[CI][Github] Version pin packages in windows container #148319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI][Github] Version pin packages in windows container #148319
Conversation
Created using spr 1.3.4 [skip ci]
Created using spr 1.3.4
@llvm/pr-subscribers-github-workflow Author: Aiden Grossman (boomanaiden154) ChangesI spent several hours debugging failures in the server 2022 container Full diff: https://github.com/llvm/llvm-project/pull/148319.diff 1 Files Affected:
diff --git a/.github/workflows/containers/github-action-ci-windows/Dockerfile b/.github/workflows/containers/github-action-ci-windows/Dockerfile
index 59ba5c2cebf97..f829d4e900217 100644
--- a/.github/workflows/containers/github-action-ci-windows/Dockerfile
+++ b/.github/workflows/containers/github-action-ci-windows/Dockerfile
@@ -39,11 +39,13 @@ RUN regsvr32 /S "C:\BuildTools\DIA SDK\bin\amd64\msdia140.dll" & \
# install tools as described in https://llvm.org/docs/GettingStartedVS.html
# and a few more that were not documented...
-RUN choco install -y ninja git sccache
# Pin an older version of Python; the current Python 3.10 fails when
# doing "pip install" for the other dependencies, as it fails to find libxml
# while compiling some package.
-RUN choco install -y python3 --version 3.9.7
+RUN choco install -y ninja --version 1.13.1 && \
+ choco install -y git --version 2.50.1 && \
+ choco install -y sccache --version 0.10.0 && \
+ choco install -y python3 --version 3.9.7
# Testing requires psutil
RUN pip install psutil
|
I spent several hours debugging failures in the server 2022 container today that turned out to be related to a new ninja release from a couple weeks ago. This patch version pins all the packages so they do not spuriously upgrade and we can control the process to waste less effort debugging changes due to version changes. Pull Request: llvm#148319
Created using spr 1.3.4 [skip ci]
Created using spr 1.3.4 [skip ci]
I spent several hours debugging failures in the server 2022 container today that turned out to be related to a new ninja release from a couple weeks ago. This patch version pins all the packages so they do not spuriously upgrade and we can control the process to waste less effort debugging changes due to version changes. Pull Request: llvm#148319
I spent several hours debugging failures in the server 2022 container today that turned out to be related to a new ninja release from a couple weeks ago. This patch version pins all the packages so they do not spuriously upgrade and we can control the process to waste less effort debugging changes due to version changes. Reviewers: cmtice, tstellar, lnihlen Reviewed By: cmtice Pull Request: llvm/llvm-project#148319
I spent several hours debugging failures in the server 2022 container
today that turned out to be related to a new ninja release from a couple
weeks ago. This patch version pins all the packages so they do not
spuriously upgrade and we can control the process to waste less effort
debugging changes due to version changes.